<link rel="stylesheet" type="text/css" href="<?php echo base_url('common/home')?>/css/style.css" />
<script type="text/javascript" src="<?php echo base_url('common/home')?>/js/jquery-1.10.2.js"></script>
<script type="text/javascript">
    $(function () {
        var index = parent.layer.getFrameIndex(window.name);
        $(".hCloseTip").click(function () {
            parent.layer.close(index);
        });
    })
    function redirect_person(url)
    {
        parent.window.location.href = url;
    }
    $(function () {
        var backurl = '<?php echo $backurl?>';
        if (backurl != null && backurl != '' && backurl != undefined) {
            setTimeout(function () {
                parent.window.location.href = backurl;
            }, 3000);
        }
    });
</script>
<!--弹框 begin-->
<div class="hMask" style="display:block;">
    <!--注册成功提示弹窗 begin-->
    <div class="hSuccessTip" style="display:block;margin:0 auto 0;">
        <img class="hClose hCloseTip" src="<?php echo base_url('common/home')?>/img/hClose.png" width="22" height="21" alt="" />
        <img class="hTick" src="<?php echo base_url('common/home')?>/img/hTick.png" width="77" height="77" alt="" />
        <span style="text-align:center;">登陆成功</span>
        <a href="javascript:redirect_person('<?php echo site_url('customer/index')?>')">个人中心</a>
        <?php if(!empty($backurl)):?>
        <div style="color:red;position: absolute;bottom: 5px;text-align: center;display: block;width: 100%;">注：如不点击任何按钮，将自动跳转到上次访问页面</div>
        <?php endif;?>
    </div>
    <!--注册成功提示弹窗 end-->

</div>
<!--弹框 end-->